#pragma once


// CUndstandDiaIdView view

class CUndstandDiaIdView : public CListView
{
	DECLARE_DYNCREATE(CUndstandDiaIdView)

protected:
	CUndstandDiaIdView();           // protected constructor used by dynamic creation
	virtual ~CUndstandDiaIdView();

public:
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
	DECLARE_MESSAGE_MAP()

public:
	CUndstandDiaDoc* GetDocument() const
	{ return reinterpret_cast<CUndstandDiaDoc*>(m_pDocument); };
	virtual void OnInitialUpdate();

private:
	DWORD m_dwClmnNum;

	CComPtr<IDiaSession> m_psession;
	CComPtr<IDiaSymbol> m_pglobal;

protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
public:
	afx_msg void OnContextMenu(CWnd* /*pWnd*/, CPoint /*point*/);
	afx_msg void OnLvnEndlabeledit(NMHDR *pNMHDR, LRESULT *pResult);
};


